package com.ucw.ucwclient.dal.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ucw.ucwclient.dal.dataobject.UCityCmt;
import com.ucw.ucwclient.dal.search.NormalSearch;

@Repository
public interface UCityCmtMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(UCityCmt record);

	int insertSelective(UCityCmt record);

	UCityCmt selectByPrimaryKey(Integer id);
	
	int updateByPrimaryKeySelective(UCityCmt record);

	int updateByPrimaryKey(UCityCmt record);

	int deleteCmt(@Param("id") Integer id, @Param("userId") Long userId);

	List<UCityCmt> selectByPageSearch(@Param("search") NormalSearch search);
}